package locators;

import org.openqa.selenium.firefox.FirefoxDriver;

public class LoginOnSite {
    public static void main(String[] args) {
        FirefoxDriver driver  = new FirefoxDriver();

        driver.get("https://fb.com");
        driver.findElementById("email").sendKeys("test.test@test.com");
        driver.findElementById("pass").sendKeys("test");
//        driver.findElementByLinkText("Забыли пароль?").click();
        driver.findElementByName("login").click();
//        driver.findElementByXPath("//*[@id=\'u_0_d_Ei\']");
//        driver.findElementByCssSelector("#u_0_h_Us");

    }
}
